@echo off

REM 创建目录结构
mkdir src\views\solution
mkdir src\views\productCenter
mkdir src\views\trainingCenter
mkdir src\views\recentActivities
mkdir src\views\mediaCenter
mkdir src\views\aboutUs
mkdir src\views\stores
mkdir src\views\memberCenter
mkdir src\router

REM 设置文件内容 - 使用echo创建多行内容
(
echo ^<template^>
echo   ^<div class="about"^>
echo     ^<h1^>This is an about page^</h1^>
echo   ^</div^>
echo ^</template^>
echo ^<script^>
echo export default {
echo   name: 'AboutView',
echo }
echo ^</script^>
echo ^<style scoped^>
echo.
echo ^</style^>
) > template.txt

REM 创建和写入文件
for %%f in (
    src\views\solution\ModelSpecific.vue
    src\views\productCenter\Model.vue
    src\views\productCenter\Brand.vue
    src\views\productCenter\Application.vue
    src\views\trainingCenter\DownloadCenter.vue
    src\views\trainingCenter\VideoCourses.vue
    src\views\trainingCenter\OfflineTraining.vue
    src\views\recentActivities\ActivityCategories.vue
    src\views\recentActivities\Calendar.vue
    src\views\mediaCenter\LatestNews.vue
    src\views\mediaCenter\SpecialNews.vue
    src\views\aboutUs\AboutCompany.vue
    src\views\aboutUs\CorporateResponsibility.vue
    src\views\stores\ConceptStores.vue
    src\views\stores\Showrooms.vue
    src\views\memberCenter\Register.vue
    src\views\memberCenter\Login.vue
    src\views\Solution.vue
    src\views\ProductCenter.vue
    src\views\TrainingCenter.vue
    src\views\RecentActivities.vue
    src\views\MediaCenter.vue
    src\views\AboutUs.vue
    src\views\Careers.vue
    src\views\ContactUs.vue
    src\views\Stores.vue
    src\views\MemberCenter.vue
) do (
    copy template.txt "%%f" >nul
)

REM 删除临时模板文件
del template.txt

echo Directory structure and files created successfully.
